#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdbool.h>

bool judgeCircle(char* moves)
{
    int x = 0;
    int y = 0;

    for (int i = 0; i < strlen(moves); i++)
    {
        if (moves[i] == 'R')
        {
            x++;
        }
        if (moves[i] == 'L')
        {
            x--;
        }
        if (moves[i] == 'U')
        {
            y++;
        }
        if (moves[i] == 'D')
        {
            y--;
        }
    }
    if (x == 0 && y == 0)
    {
        return true;
    }
    return false;
}

int main()
{
	return 0;
}